Integrand size = 25, antiderivative size = 62 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=-\frac {2 a (3 A+B) \cos (e+f x)}{3 f \sqrt {a+a \sin (e+f x)}}-\frac {2 B \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{3 f} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2830, 2725} \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=-\frac {2 a (3 A+B) \cos (e+f x)}{3 f \sqrt {a \sin (e+f x)+a}}-\frac {2 B \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{3 f} \]
[In]
[Out]
Rule 2725
Rule 2830
Rubi steps \begin{align*} \text {integral}& = -\frac {2 B \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{3 f}+\frac {1}{3} (3 A+B) \int \sqrt {a+a \sin (e+f x)} \, dx \\ & = -\frac {2 a (3 A+B) \cos (e+f x)}{3 f \sqrt {a+a \sin (e+f x)}}-\frac {2 B \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{3 f} \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 82, normalized size of antiderivative = 1.32 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=-\frac {2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))} (3 A+2 B+B \sin (e+f x))}{3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
[In]
[Out]
Time = 0.93 (sec) , antiderivative size = 58, normalized size of antiderivative = 0.94
method | result | size |
default | \(\frac {2 \left (1+\sin \left (f x +e \right )\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (B \sin \left (f x +e \right )+3 A +2 B \right )}{3 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(58\) |
parts | \(\frac {2 A \left (1+\sin \left (f x +e \right )\right ) \left (\sin \left (f x +e \right )-1\right ) a}{\cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {2 B \left (1+\sin \left (f x +e \right )\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (\sin \left (f x +e \right )+2\right )}{3 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(96\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.37 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=-\frac {2 \, {\left (B \cos \left (f x + e\right )^{2} + {\left (3 \, A + 2 \, B\right )} \cos \left (f x + e\right ) + {\left (B \cos \left (f x + e\right ) - 3 \, A - B\right )} \sin \left (f x + e\right ) + 3 \, A + B\right )} \sqrt {a \sin \left (f x + e\right ) + a}}{3 \, {\left (f \cos \left (f x + e\right ) + f \sin \left (f x + e\right ) + f\right )}} \]
[In]
[Out]
\[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=\int \sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )} \left (A + B \sin {\left (e + f x \right )}\right )\, dx \]
[In]
[Out]
\[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=\int { {\left (B \sin \left (f x + e\right ) + A\right )} \sqrt {a \sin \left (f x + e\right ) + a} \,d x } \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.37 \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=\frac {\sqrt {2} {\left (B \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {3}{4} \, \pi + \frac {3}{2} \, f x + \frac {3}{2} \, e\right ) + 3 \, {\left (2 \, A \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + B \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \sqrt {a}}{3 \, f} \]
[In]
[Out]
Timed out. \[ \int \sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x)) \, dx=\int \left (A+B\,\sin \left (e+f\,x\right )\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )} \,d x \]
[In]
[Out]